﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using WFL.IoCUnity;

namespace WFL.RBAC
{
    [UnityConfiguration(File = "Unity.config")]
    public interface IOperation
    {
        void Create(Operation item);
        void Delete(int resourceId, int id);
        void Update(Operation item);
        IList<Operation> GetList(int resourceId);
        Operation Get(int resourceId, int id);
        Operation Get(int resourceId, string name);
    }
}
